
#ifndef __OBJECT_H
#define __OBJECT_H

#include <iostream>

#include "vector4.h"
#include "matrix44.h"

class Object
{
// Member Functions
public:
	Object(void);
	Object(float x, float y, float z);
	Object(float x, float y, float z,
		   float dx,float dy,float dz);

	void update(float etime);
	virtual void draw(Vector4 *camPos, Vector4 *camRot) = 0;

	void EulerInt(Vector4 &position, Vector4 &velocity, Vector4 &acceleration, float dt);
	void RK4(Vector4 &position, Vector4 &velocity, Vector4 &acceleration, float dt);
	void translateXYZ(float x, float y, float z);
	void scale(float s);
	
protected:
private:

// Member Variables
public:
	Vector4 vel;
	Vector4 acc;
	Vector4 pos;
	Vector4 **faceVerts;
	Matrix44 tMat;
	int id;
protected:
	Vector4 **vertices;
	int *indices;
	
	
	
	float sc;
	float **colors;
private:
};

#endif //__OBJECT_H
